<!--
 * @Description: 管理员的书籍管理页面，书籍的增删查改
 * @Author: tyq
 * @Date: 2021-02-21 15:56:47
 * @LastEditors: zy
 * @LastEditTime: 2021-06-14 21:55:19
-->
<template>
    <div class="total">
        <el-table
            border
            stripe
            size="small"
            :data="book"
            style="width: 90%">
            <el-table-column
              prop="bookName"
              label="课程名称"
              width="200">
            </el-table-column>
            <el-table-column
              prop="authorId"
              label="教师"
              width="200">
            </el-table-column>
            <el-table-column
              show-overflow-tooltip
              prop="bookIntro"
              label="评分"
              width="150">
            </el-table-column>
            <el-table-column
              show-overflow-tooltip
              prop="bookIntro"
              label="评分人数"
              width="150">
            </el-table-column>
            <el-table-column
              label="操作">
              <template slot-scope="scope">
                <el-button
                  size="mini"
                  @click="showEditView(scope.$index, scope.row)">查看详情</el-button>
              </template>
            </el-table-column>
          </el-table>
    </div>
</template>
<script>

export default {
  name: 'Book',
  data () {
    return {
    }
  },
  components: {
  }
}
</script>
<style>
</style>
